﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace System.Models.Models
{
    /// <summary>
    /// 物资负责人信息表
    /// </summary>
    [Table("T_Material_Responsible ")]
    public class MaterialResponsible:BaseEntity
    {
        /// <summary>
        /// 物资编号
        /// </summary>
        [ForeignKey(nameof(materialID))]
        public int MaterialID { get; set; }
        public Material materialID { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        [ForeignKey(nameof(staffID))]
        public int StaffId { get; set; }
        public Staff staffID { get; set; }
    }
}
